package com.topone.repository;

import com.topone.dataObject.DynamicInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2018/1/21,0021.
 */

@Repository
public interface DynamicInfoRepository extends JpaRepository<DynamicInfo,String> {

      List<DynamicInfo> findByStatus(Integer stuatus);

      DynamicInfo findByStatusAndAndDynamicId(Integer status, String dynamicId);

}
